﻿<Window x:Class="frmAddCompanyLink"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Add Company Link" Height="345" Width="363" Background="Gray" WindowStyle="ToolWindow" WindowStartupLocation="CenterScreen">
    <Grid>
        <GroupBox Header="Add Subsidiary Company" Margin="2,12,-1,29" Name="grpLink" Width="340" Height="266">
            <Grid>
                <Label Height="25" Margin="1,6,0,0" Name="Label1" VerticalAlignment="Top" HorizontalAlignment="Left" Width="75">Company ID</Label>
                <Label Height="25" HorizontalAlignment="Left" Margin="2,32,0,0" Name="Label2" VerticalAlignment="Top" Width="91">Company Name</Label>
                <Label Height="25" Margin="2,58,0,0" Name="Label3" VerticalAlignment="Top" HorizontalAlignment="Left" Width="114">Matching Companies</Label>
                <TextBox Height="20" Margin="0,8,75,0" Name="txtCompanyId" VerticalAlignment="Top" Width="152" HorizontalAlignment="Right" />
                <TextBox Height="20" Margin="0,34,75,0" Name="txtCompanyName" VerticalAlignment="Top" HorizontalAlignment="Right" Width="152" />
                <Button Height="23" HorizontalAlignment="Right" Margin="0,6.1,9,0" Name="btnFind" VerticalAlignment="Top" Width="61.5">Find</Button>
                <ListView Margin="6,80,6,-2" Name="lvwCompany">
                    <ListView.View>
                        <GridView Selector.IsSelected="True">
                            <GridViewColumn DisplayMemberBinding="{Binding Path=Company_Name}" Width="150">Company Name</GridViewColumn>
                            <GridViewColumn DisplayMemberBinding="{Binding Path=Company_Id}" Width="150">ID</GridViewColumn>
                            <GridViewColumn DisplayMemberBinding="{Binding Path=Company_ParentID}" Width="0">Parent ID</GridViewColumn>
                        </GridView>
                    </ListView.View>
                </ListView>
            </Grid>
        </GroupBox>
        <Button Height="23" HorizontalAlignment="Left" Margin="8,0,0,4" Name="btnAddLink" VerticalAlignment="Bottom" Width="75">Add Link</Button>
        <Button Height="23" HorizontalAlignment="Right" Margin="0,0,7,4" Name="btnCancel" VerticalAlignment="Bottom" Width="75">Cancel</Button>
    </Grid>
</Window>
